package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description ="评估记录明细")
@Data
public class PgRecordDetailVo{
    @Schema(description ="记录明细id")
    private Long id;

    @Schema(description ="记录id")
    private Long pgRecordId;

    @Schema(description ="评估项id",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "评估项id不能为空")
    private Long pgId;

    @Schema(description ="题目id",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "题目id不能为空")
    private Long pgSrxId;

    @Schema(description ="答案id,多选项逗号分割",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "答案id不能为空")
    private String detailId;

    @Schema(description ="自定义答案",requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotBlank(message = "自定义选项内容")
    private String diyContent;

    @Schema(description ="题目明细")
    private SrxVO srxVO;

}